package com.stx.day0918;

/**
 * packageName com.stx.day0918
 *
 * @author YangYi
 * @className PaymentDemo
 * @date 2025/9/18
 * @description TODO
 */
public class PaymentDemo {
    public static void main(String[] args) {
        WechatPayment wechatPayment = new WechatPayment(1000,"10001");
        wechatPayment.pay();
        AliPayment aliPayment = new AliPayment(1000,"10002");
        System.out.println(aliPayment.queryOrderInfo(1000,"10002"));;
    }
}
